[gd_scene load_steps=5 format=3 uid="uid://dlknb08jcu4gn"]

[ext_resource type="PackedScene" uid="uid://cjtln1brv5njd" path="res://entities/GridBasedMovable.tscn" id="1_1e3wt"]
[ext_resource type="Script" path="res://entities/enemies/Bug.gd" id="2_lcy4m"]
[ext_resource type="ArrayMesh" uid="uid://2sf4rb1nj2re" path="res://entities/enemies/models/enemy_bug.obj" id="3_ctx12"]
[ext_resource type="Material" uid="uid://dnoc4r2bukkgu" path="res://entities/enemies/pusherbug.material" id="4_5xmv0"]

[node name="PusherBug" groups=["enemy"] instance=ExtResource("1_1e3wt")]
collision_layer = 32
collision_mask = 5
script = ExtResource("2_lcy4m")
min_idle_time = 0.1
max_idle_time = 0.1
start_direction = 0
can_push = true
step_time = 0.3
enable_rotation = true

[node name="StaticMesh" parent="RotationPoint" index="1"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
mesh = ExtResource("3_ctx12")
surface_material_override/0 = ExtResource("4_5xmv0")

[node name="PlacementProtectionArea" parent="RotationPoint" index="2"]
monitorable = true

[node name="DetectionArea" parent="." index="3"]
collision_layer = 32

[node name="RayCastFront" parent="RC_Holder" index="0"]
collision_mask = 103

[node name="IdleTimer" type="Timer" parent="." index="6"]
wait_time = 0.1
one_shot = true

[connection signal="timeout" from="IdleTimer" to="." method="_on_IdleTimer_timeout"]

[editable path="RC_Holder"]
